﻿package game.socket {
	import flash.events.Event;
	
	public class SocketHandler extends Event {
		
		public static const RECIVE:String		= "socket.recive";
		
		public var socketPackage:*;
		
		public function SocketHandler($type:String, socketPackage:*, $bubbles:Boolean = false, $cancelable:Boolean = false) {
			super($type, $bubbles, $cancelable);
			this.socketPackage = socketPackage;
		}

		public override function toString():String {
			return formatToString("SocketHandler", "socketPackage", "type", "bubbles", "cancelable");
		}
		
	}
}